projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665b611
)
#defines for USB packet types to improve readability.
author
robertl
<robertl>
Mon, 30 Jan 2006 04:25:56 +0000
(
04:25
+0000)
committer
robertl
<robertl>
Mon, 30 Jan 2006 04:25:56 +0000
(
04:25
+0000)
jeeps/garminusb.h
patch
|
blob
|
history
diff --git
a/jeeps/garminusb.h
b/jeeps/garminusb.h
index 7e07600dad84052177d0ac044382a5d7d5329aac..638be5b017c0f788c6318e5558d9c370c513ec31 100644
(file)
--- a/
jeeps/garminusb.h
+++ b/
jeeps/garminusb.h
@@
-57,3
+57,10
@@
int gusb_cmd_get(garmin_usb_packet *ibuf, size_t sz);
int gusb_open(const char *portname);
int gusb_close(const char *portname);
int gusb_init(const char *portname);
+
+/*
+ * New packet types in USB.
+ */
+#define GUSB_SESSION_START 5 /* We request units attention */
+#define GUSB_SESSION_ACK 6 /* Unit responds that we have its attention */
+#define GUSB_REQUEST_BULK 2 /* Unit requests we read from bulk pipe */